package com.example.demo.exception;

/**
 * @Author x c
 * @Email 378661553@qq.com
 */
public class ParameterException extends RuntimeException {
    private String msg;
    private int code;

    public ParameterException() {
    }

    public ParameterException(Throwable cause) {
        super(cause);
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


}
